package o;

import com.huawei.appgallery.serverreqkit.api.bean.ResponseBean;
import com.huawei.appgallery.serverreqkit.api.listener.IServerCallBack;

public class dvi extends Thread implements IServerCallBack {
    private String ˊ = null;
    private long ॱ = 0;

    public dvi(String str, long j) {
        this.ˊ = str;
        this.ॱ = j;
    }

    public void run() {
        if (diu.ˊ().ˎ()) {
            cfw.ˎ(new dvh(Long.toString(this.ॱ) + this.ˊ), this);
        } else {
            Logger.e("CrashThread", "App do not agree protocol ,can not upload the CrashReport.");
        }
    }

    public void prePostResult(BaseRequest o_cvu, ResponseBean responseBean) {
        Object obj = (responseBean != null && responseBean.getResponseCode() == 0 && responseBean.getRtnCode_() == 0) ? 1 : null;
        if (obj == null) {
            Logger.e("CrashThread", "CrashThread report crash report fail");
        }
    }

    public void notifyResult(BaseRequest o_cvu, ResponseBean responseBean) {
    }
}
